home *** CD-ROM | disk | FTP | other *** search
- Path: ftel.co.uk!bham!usenet
- From: "Mr. Graeme McCaffery" <G.McCaffery@bham.ac.uk>
- Newsgroups: comp.lang.c++
- Subject: CC compiler for Sun 4.0.1
- Date: Wed, 31 Jan 1996 16:28:57 +0000
- Organization: The University Of Birmingham
- Message-ID: <310F98C9.41C67EA6@bham.ac.uk>
- NNTP-Posting-Host: baruntse.eee.bham.ac.uk
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b3 (X11; I; SunOS 4.1.3 sun4c)
-
- Our sun computers have just upgraded to solaris 2.4. As a result we have
- a new CC compiler for C++. I want to compile my program which has been
- compiled on Borland C++ for dos, but I get core dumps when I shouldn't.
- I am using Templates for a user defined array class. The problem seems
- to be consistencey across different files. I have the class definition
- in one file and the function definitions in another file.
-
- I have used typedef statments and these wroked for Borland. How do I
- make it work for CC?
-
- I have looked at the Template.opt file but I can't figure it out
- properly.
-
- Thanks for any help.
- Graeme
-
- could you please respond to this by mail as well as to the newsgroup as
- I find it hard to follow the C++ newsgroup.
-
- --
- G. McCaffery
- The University of Birmingham
- http://sun1.bham.ac.uk/g.mccaffery/
-